package com.zysstudy.domain;

import lombok.Data;

import javax.sql.rowset.serial.SerialArray;

/**
 * @author zhaoyoushui
 * @date 2023/9/6 17:19
 */
@Data
public class IndexInfo  {
    private int id;

    private String name;

    private String leftIconUrl;


    private String rightIconUrl;

    private String backgroudColor;



    public  IndexInfo(int id, String name) {
        this.id = id;
        this.name = name;
        this.leftIconUrl = null;
        this.rightIconUrl = null;
        this.backgroudColor = null;

    }
    public  IndexInfo(int id, String name, String leftIconUrl,String rightIconUrl) {
        this.id = id;
        this.name = name;
        this.leftIconUrl = leftIconUrl;
        this.rightIconUrl = rightIconUrl;
        this.backgroudColor = null;

    }
    public  IndexInfo(int id, String name, String leftIconUrl,String rightIconUrl, String backgroudColor) {
        this.id = id;
        this.name = name;
        this.leftIconUrl = leftIconUrl;
        this.rightIconUrl = rightIconUrl;
        this.backgroudColor = backgroudColor;

    }
}
